package com.example.service;

import com.example.entity.Category;
import com.example.mapper.BuyerMapper;
import com.example.mapper.CategoryMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CategoryService {

    @Resource
    private CategoryMapper categoryMapper;

    public List<Category> selectAll() {
        return categoryMapper.selectAll();
    }


}
